#4输入一个大于0的整数，判断是否是质数 
z=int(input("请输入一个大于0的整数:"))
if z> 1:
    for i in range(2,z):
        if(z %i ==0):
            print(z,"不是质数")
            print (i,"*",z//i,"=",z)
        break
    else:
        print(z,"是质数")
else:
        print(z,"不是质数")
